package com.md.domain.repository;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.md.base.BaseRepository;
import com.md.domain.model.bo.QueryUsersBO;
import com.md.domain.model.po.UsersPO;

/**
 * @author 刘骄阳
 * @date 5/3/25 2:14 pm
 **/
public interface UsersRepository extends BaseRepository<UsersPO> {

  UsersPO queryUserByPhone(String phone);

  UsersPO queryUserByAccount(String account);

  UsersPO queryUserByName(String name);

  Page<UsersPO> selectListByPage(QueryUsersBO queryUsersBO);
}
